package com.followerback.model;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Unindexed;

@Cached 
public class SearchPhrase {

	@Id private Long id;
	
	@Unindexed private String text = "";
	
	private long twitterProfileID;
	
	private long creationTime;

	public SearchPhrase(String text, long twitterProfileID, boolean exclusion) {
		super();
		this.text = text;
		this.twitterProfileID = twitterProfileID;
		this.creationTime = System.currentTimeMillis();
	}

	public SearchPhrase() {
		super();
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Long getId() {
		return id;
	}

	public long getTwitterProfileID() {
		return twitterProfileID;
	}

	public long getCreationTime() {
		return creationTime;
	}
}
